<?php

namespace App\Http\Requests\Exp;

use App\Http\Requests\Request;

class ExpRequest extends Request
{
    public function rules()
    {
        return [
            'title' => 'required',
            'time' => 'required',
            'use_skill' => 'required',
            'res_job' => 'required',
        ];
    }

    public function messages()
    {
        return [
            'title.required' => '标题未填写',
            'time.required' => '时间未填写',
            'use_skill.required' => '使用技能未填写',
            'res_job.required' => '参与工作未填写',
        ];
    }
}
